package kr.hkit.powerjava.chapter05.work;

import java.util.Scanner;

public class Prog1 {
	
	public static void main(String[] args) {
		
		String name;
		int year;
		
		System.out.print("이름 : ");
		Scanner in = new Scanner (System.in);
		name=in.next();
		
		System.out.print("나이 : ");
		year=in.nextInt();
		
		
		System.out.println("이름은 "+name+"이고 나이는 "+ year +"세입니다.");
	}

}
